/*
 * Copyright (c) 2013. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
 * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
 * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
 * Vestibulum commodo. Ut rhoncus gravida arcu.
 */

package com.jspx.txweb.dao;

import com.jspx.sober.SoberSupport;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: yuan
 * Date: 13-10-16
 * Time: 下午10:13
 *
 */
public interface ActionLogDAO extends SoberSupport {
    void setNamespace(String namespace);
    String getNamespace();
    Object load(Long id) throws Exception;
    boolean delete(Long[] ids) throws Exception;
    List getList(String[] field,String[] find,String term,String sortString,long uid,int page, int count) throws Exception;
    int getCount(String[] field,String[] find,String term,long uid) throws Exception;
    int deleteYearBefore(int year) throws Exception;
    int clear();
}